#
# (C) Copyright 2021
# <tang-haifeng@foxmail.com> <pengren.mcu@qq.com>
#
# SPDX-License-Identifier:      GPL-2.0+
#
obj-y += common/platform.o
ifdef CONFIG_MIPS
obj-$(CONFIG_LOONGSON_BOOT_FIXUP) += common/bootparam_mips.o
endif
ifdef CONFIG_LOONGARCH
obj-$(CONFIG_LOONGSON_BOOT_FIXUP) += common/bootparam_la.o
obj-$(CONFIG_LOONGSON_BOOT_FIXUP) += common/loongson_efi_systab.o
endif

obj-$(CONFIG_TARGET_LS2K500_HUOLONG_MB_V1_0_MIPS) += ls2k500_huolong_mb/ls2k500_huolong_mb_v1.0.o

obj-$(CONFIG_TARGET_LS2K500_EVB) += ls2k500_evb/ls2k500_evb.o
obj-$(CONFIG_TARGET_LS2K500_HUOLONG_MB_V1_0) += ls2k500_huolong_mb/ls2k500_huolong_mb_v1.0.o
